package com.kksoft.readcm.b;

import com.kksoft.readcm.a.Appconfig;
import com.kksoft.readcm.c.d;
import com.kksoft.readcm.objects.j;
import com.kksoft.readcm.objects.l;
import java.util.HashMap;
import java.util.concurrent.atomic.AtomicBoolean;

public class h extends m
  implements d
{
  protected final l a;
  protected final String b;
  protected final boolean c;
  protected String d = null;
  protected String e = null;
  protected byte[] f = null;
  protected AtomicBoolean g;
  protected AtomicBoolean h;
  protected boolean i;
  protected HashMap j;
  protected HashMap k;
  protected String l;
  protected int m;
  protected com.kksoft.readcm.a.y n;
  protected com.kksoft.readcm.objects.b o;
  protected com.kksoft.readcm.objects.b p;
  private String s = null;
  private String t = null;
  private boolean u = false;
  private boolean v;
  private int w;
  private com.kksoft.readcm.objects.y x;

  public h(int paramInt1, int paramInt2, com.kksoft.readcm.a.y paramy, l paraml, boolean paramBoolean)
  {
    super(paramInt2);
    AtomicBoolean localAtomicBoolean1 = new AtomicBoolean();
    this.g = localAtomicBoolean1;
    AtomicBoolean localAtomicBoolean2 = new AtomicBoolean();
    this.h = localAtomicBoolean2;
    this.i = false;
    this.a = paraml;
    String str = paraml.c();
    this.b = str;
    this.n = paramy;
    this.m = paramInt1;
    this.c = paramBoolean;
    e();
  }

  public h(com.kksoft.readcm.a.y paramy, String paramString)
  {
    super(4);
    AtomicBoolean localAtomicBoolean1 = new AtomicBoolean();
    this.g = localAtomicBoolean1;
    AtomicBoolean localAtomicBoolean2 = new AtomicBoolean();
    this.h = localAtomicBoolean2;
    this.i = false;
    this.a = null;
    this.b = paramString;
    this.n = paramy;
    this.m = 2;
    this.c = true;
    e();
  }

  private void F()
  {
    if (this.x != null)
      this.x.b();
    this.x = null;
    this.o = null;
    this.p = null;
  }

  public final HashMap A()
  {
    return this.j;
  }

  public final HashMap B()
  {
    return this.k;
  }

  public final boolean C()
  {
    return this.c;
  }

  public final Appconfig D()
  {
    return this.n.s();
  }

  protected final void a()
  {
    f();
    g();
    h();
    i();
  }

  public void a(a parama)
  {
  }

  public void a(j paramj, int paramInt)
  {
  }

  public void a(String paramString)
  {
  }

  protected final void a(boolean paramBoolean, int paramInt)
  {
    if (this.h.get());
    while (true)
    {
      return;
      //this.g.set(1);
      //this.h.set(1);
      //this.v = paramBoolean;
//      if ((paramInt > 0) || (this.v))
//      {
//        this.w = 1;
//        continue;
//      }
//      this.w = -1;
    }
  }

  public void a(boolean paramBoolean1, String paramString1, byte[] paramArrayOfByte, boolean paramBoolean2, String paramString2, boolean paramBoolean3)
  {
  }

  public void a(boolean paramBoolean, byte[] paramArrayOfByte, j paramj)
  {
  }

  public void a(boolean paramBoolean, byte[] paramArrayOfByte, String paramString, j paramj)
  {
  }

  public final void a(byte[] paramArrayOfByte, String paramString)
  {
  }

  public final void b(int paramInt)
  {
    int i1 = 1;
    if (paramInt == i1);
    while (true)
    {
      //a(i1, paramInt);
      return;
      //i1 = 0;
    }
  }

  protected void c()
  {
    F();
    this.e = null;
    this.f = null;
    this.n = null;
    this.j = null;
    this.k = null;
    if (this.a != null)
    {
      l locall = this.a;
      int i1 = d();
      locall.c(i1);
    }
    //this.u = 0;
  }

  public int d()
  {
    return 0;
  }

  protected void e()
  {
    if (this.a != null)
    {
      l locall = this.a;
      int i1 = d();
      locall.a(i1, this);
    }
  }

  protected void f()
  {
    com.kksoft.readcm.a.y localy = this.n;
    int i1 = this.m;
    com.kksoft.readcm.objects.y localy1 = localy.a(i1, this);
    this.x = localy1;
    if (this.x != null)
    {
      com.kksoft.readcm.objects.b localb1 = this.x.c();
      this.o = localb1;
      com.kksoft.readcm.objects.b localb2 = this.x.d();
      this.p = localb2;
//      this.u = 1;
      if ((this.a != null) && (d() != 3))
        this.a.y();
    }
    while (true)
    {
      return;
//      this.r.set(1);
    }
  }

  protected void g()
  {
  }

  protected void h()
  {
  }

  protected void i()
  {
  }

  protected void j()
  {
    String str1 = this.e;
    String str2 = this.d;
    String str3 = this.s;
    h localh = this;
    b localb = new b(localh, 1, str1, str2, str3, null);
    this.p.a(localb);
  }

  /** @deprecated */
  protected void k()
  {
//    monitorenter;
    try
    {
      com.kksoft.readcm.objects.b localb = this.p;
      byte[] arrayOfByte = this.f;
      String str = this.d;
      h localh = this;
      b localb1 = new b(localh, 1, arrayOfByte, str, null);
      localb.a(localb1);
//      monitorexit;
      return;
    }
    finally
    {
//      localObject = finally;
//      monitorexit;
    }
//    throw localObject;
  }

  protected final void l()
  {
//    a(0, 0);
  }

  protected final boolean m()
  {
    if ((!this.q.get()) && (!this.r.get()) && ((!this.g.get()) || (this.i)));
    for (int i1 = 1; ; i1 = 0)
      return false;
  }

  public final void n()
  {
    super.n();
    F();
  }

  public final boolean o()
  {
    return this.h.get();
  }

  public final boolean p()
  {
    return this.q.get();
  }

  public final boolean q()
  {
    return this.u;
  }

  public final boolean r()
  {
    if ((!this.q.get()) && (!this.r.get()) && ((this.c) || (this.u)));
    for (int i1 = 1; ; i1 = 0)
      return false;
  }

  public final String s()
  {
    return this.b;
  }

  public final l t()
  {
    return this.a;
  }

  public final boolean u()
  {
    return this.r.get();
  }

  public final boolean v()
  {
    return this.v;
  }

  public final int w()
  {
    return this.w;
  }

  public final String x()
  {
    return this.l;
  }

  public final String y()
  {
    return this.s;
  }

  public final int z()
  {
    return this.m;
  }
}

/* Location:           E:\AndroidDecompiler\jd-gui-0.3.3.windows\newrclasses.dex.dex2jar.jar
 * Qualified Name:     com.kksoft.readcm.b.h
 * JD-Core Version:    0.6.0
 */